package com.chockqiu.demo.activitys

import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.chockqiu.demo.dialogs.ElementFloatTogetherDialog
import com.chockqiu.demo.dialogs.LightingAnimationViewDialog

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        findViewById<View>(R.id.tvLv).setOnClickListener {
            LightingAnimationViewDialog().show(
                supportFragmentManager,
                "LightingAnimationViewDialog"
            )
        }
        findViewById<View>(R.id.tvElv).setOnClickListener {
            ElementFloatTogetherDialog().show(
                supportFragmentManager,
                "EleFloatTogetherDialog"
            )
        }
    }
}